package cn.wolfcode.car.business.query;

import cn.wolfcode.car.business.domain.Department;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author WaveHi
 * @Date 19/11/2021 下午 2:21
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@Getter
@Setter
@ToString
public class EmployeeQuery {

    private String key;

    private Integer admin;

    private Integer status;

    private Long deptId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss", timezone = "GMT+8")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:ss", timezone = "GMT+8")
    private Date endTime;
}
